New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting minitest #68
Conversation
Thank you! Just got crazy over this problem. Using your fork for now :) |
Can we get this (or something like it) accepted? I've had two questions about this in the past day. http://stackoverflow.com/questions/12148611/rails-generators-not-generating-the-proper-test-templates |
Here is my fix: jonesdeini@fe632cf |
+1 for @jonesdeini's fix. |
…mally. They are not touched here. +1 for @joedesini
I've merged @jonesdeini's fix. DemoBlogHobo::Application.configure do
config.generators do |g|
g.test_framework :mini_test, :spec => true, :fixture=>false, :fixture_replacement=>:factory_girl
end
end |
This breaks features/fixture_replacement_config.feature:18 because it no longer generates the factory file correctly. |
Why "it no longer generates the factory file correctly"? There is no code touching the factory file. Just test framework settings How can we use minitest (not unitest) while enjoying factory girl fixtures? On Tue, Sep 4, 2012 at 11:59 AM, Mike Burns notifications@github.comwrote:
Umur Ozkul |
Why "it no longer generates the factory file correctly"? Or in which On Tue, Sep 4, 2012 at 12:22 PM, Umur Ozkul umur.ozkul@gmail.com wrote:
Umur Ozkul |
The reason I know the test is failing is because I tried to merge this, because we want this feature. It's worth noting that this branch did not merge cleanly. Perhaps if you rebase against master you will do a better job resolving conflicts than I. This is the failure I see. I do not see it in master, only in this branch:
|
Added minitest support. Otherwise it's not possible to use mini test with factory girl fixtures. Maybe this gem should not touch the test framwork setups at all?